 package com.gmrz.uaf.protocol.v1.schema;
 
 import java.util.List;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import com.gmrz.uaf.common.Constants;
 
 public class OperationHeader
 {
 
   @SerializedName("upv")
   @Expose
   private Version protocolVersion;
 
   @Expose
   @SerializedName("op")
   private Constants.Operation operation;
 
   @SerializedName("appID")
   @Expose
   private String applicationID;
 
   @Expose
   private ServerData serverData;
 
   @SerializedName("exts")
   @Expose
   private List<Extension> extensions;
 
   public Version getProtocolVersion()
   {
     return this.protocolVersion;
   }
 
   public void setProtocolVersion(Version protocolVersion) {
     this.protocolVersion = protocolVersion;
   }
 
   public OperationHeader withProtocolVersion(Version protocolVersion) {
     this.protocolVersion = protocolVersion;
     return this;
   }
 
   public Constants.Operation getOperation() {
     return this.operation;
   }
 
   public void setOperation(Constants.Operation operation) {
     this.operation = operation;
   }
 
   public OperationHeader withOperation(Constants.Operation operation) {
     this.operation = operation;
     return this;
   }
 
   public String getApplicationID() {
     return this.applicationID;
   }
 
   public void setApplicationID(String applicationID) {
     this.applicationID = applicationID;
   }
 
   public OperationHeader withApplicationID(String applicationID) {
     this.applicationID = applicationID;
     return this;
   }
 
   public ServerData getServerData() {
     return this.serverData;
   }
 
   public void setServerData(ServerData serverData) {
     this.serverData = serverData;
   }
 
   public OperationHeader withServerData(ServerData serverData) {
     this.serverData = serverData;
     return this;
   }
 
   public List<Extension> getExtensions() {
     return this.extensions;
   }
 
   public void setExtensions(List<Extension> extensions) {
     this.extensions = extensions;
   }
 
   public OperationHeader withExtensions(List<Extension> extensions) {
     this.extensions = extensions;
     return this;
   }
 }
